SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8b65858dc8ce3592fe6604f4fbf6d7cb376cd8220e96339598d6d2ffc14619f8' 
  AND token = 'pbJ37VVs6dO2Ds0W8nub9l+nGSY9FW7GwuX2/Oeh5Cw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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