SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3167373afe7f165d6d4b169b2548c0ba67c574c2407bac1812b8795cde35490b' 
  AND token = 'yB8snsS1xa31qjS5s2mI9nhbESfVwPivCPp2R78IBHA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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