SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2b9f321aa271e985ca6e2f31175986a52b237e23a05d037610a8e75df00d4ab0' 
  AND token = 'hL1SQ4ggg1ebLUCt7ln+QGLXQFzzOrD9GP7JMmMO+jI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00059

JSON explain

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