SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '065db5feb017bcff2153fd80a9b0374383b0c68b226967a9970f73eac38da421' 
  AND token = 'SHOCHNe7PrKFEAUHW/TIJKk3jf4RqVXVZVAuKkYX8iA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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