SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ef18978d02e004ab58dc05866fd6ad9ca439d615db563bb96c84a9eae26db4b1' 
  AND token = 'XotiUy7qL80l2xTa6sI7SoMJFKcuGBs12gsU8QnPIBI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}