SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3c7fe75ca90104fa2798ffaf25d2298396d9057041f06069b586366b3edd1a4c' 
  AND token = 'YFb2ORlbil2l4nQ1fIWwqfY64QBqgbC+2GTldyvg37M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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