SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd856916194255608f14b26a853ecea1d4103b713bc40dd9adfe7318be29df949' 
  AND token = 'yMfpWGTmt/p1+FfY88qc3yREhvH2n3l5+pheBZTB1J4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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