SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a5ca7498bdeb55806847e5bc8fa0ff71c39a6d487a4df021f52515a4d7a35c5e' 
  AND token = '8KPZf8qtblk/l4Fgkb3ipCJf5S44x1XeiBSi7okpWnM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}