SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '65a49b0d41494f95822678ffd9317277984f470155ee7de2b533536d363e752f' 
  AND token = 'MSBq9q3C7bqPPNXaPkryMs5eoJNX0ZKSE5XVmUg5ENk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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