SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c45d58367f359188715952d179376b407de922fb6365dc07c98c65c30f2f2dab' 
  AND token = 'F2KQpZ206pv5b988bmTl+uDBZ0ksRbt2Gpw1L7jydak=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

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