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

Query time 0.00033

JSON explain

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