SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '38c62cfefca43fe47b8d052dc250b2f8acafb63b2a08e4ac8c880df73946474b' 
  AND token = 'ZdkmLBEVf121TG8T5zOKmajHHZ2+GBbIbhx9dMoyyRs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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