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

Query time 0.00029

JSON explain

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