SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '677c5a23ca8cd97ccbd55ffd248861aa308e4880e6d4e97ef945960cbe4aaddc' 
  AND token = 'Y7sS55s9PiE09Y9YeHq+2Q1uXcj3NxKEZCAgU6PuEyo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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