SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '003339914b1813a70f258301f42748f70a0ac9adeb328300161e723f162a11ba' 
  AND token = 'hCN5f2KHmq2fYf97RD76cn/ATqIHx79UDynY0fXi2y8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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