SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '00404f6f29a67998a873aa562e72f520dcb2307db2f270baf07cb6c731b4e2cd' 
  AND token = '6rtNu7nGT0Dble+i7QEUK/lwy4oLfxOd1LXsUkTabzs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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