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

Query time 0.00024

JSON explain

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