SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2bf593a0cc3e2347646755f3ed637f6d51e3ad5e257a680567c98a21e9bae235' 
  AND token = 'vRl8GhwGK6wyQnj1FO9Nc2iKmsaWjVdt9d5MFY+r6J8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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