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

Query time 0.00044

JSON explain

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