SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5d144bdc115838c874e33290b7cc0e9abc51bfdeea9bc7ea476ef2255de91cb7' 
  AND token = 'wxHNQ59ed4GA5L1chA3Mu/1aDslx1uYK6rZ7Fi9O7b4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00076

JSON explain

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