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

Query time 0.00022

JSON explain

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