SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c4739ab463f94880d120c3a4c11718f8847fbd99484f264be14cc335fde2414a' 
  AND token = 'ycjaaWWpLxvTbFm3b9z6fwSvy/8k8ncJA0LBzNGZ0E4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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