SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '52a82cac4877509418c6828d7988217248dd5569e74f20a0251e8f24d037c08e' 
  AND token = 'X0r7w3Ms9MoHa4urTuiXiHUfe+GwzoO6v/v3wkJeTp0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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