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

Query time 0.00020

JSON explain

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