SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ed0e0018ecbc19a8170c3cc66517dde9ea3785aa8ab218f28fa27b3272210d51' 
  AND token = 'mTNL99c5hCQJb3rPwFzYTLfIUH9TzN2I8WMOQ5MaRF4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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