SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '02cabb12df6e0104fec5c138c033838d7ded0d31ad8eacadd16cf1bc59380fd1' 
  AND token = 'eZNPTl/7nfOvn89ZwhIf1Kx/45GbJn2219VL+P7q+oQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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