SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f5ca734b52d307dd2cac7a89ccfac79b6bb0b6e764bfaff30ff4e6327fd39e0a' 
  AND token = 'ZmIJIRrLhv1yyNY1iHA8PXvmyYSE2kPmd+cFvv41YDk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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