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

Query time 0.00023

JSON explain

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